package com.g4m.baselib.component;

import java.security.PrivilegedActionException;

/**
 * Created on 2020-01-01
 * <p>Copyright 2008-2020 snsndk.com</p>
 * <p>
 * hudesen[hudesen@hudesen.com]
 */
public class PremissionException extends Exception {

    public PremissionException() {
    }

    /**
     * @param message 消息
     */
    public PremissionException(String message) {
        super(message);
    }

    /**
     * @param message 消息
     * @param cause   异常
     */
    public PremissionException(String message, Throwable cause) {
        super(message, cause);
    }

    /**
     * @param cause 异常
     */
    public PremissionException(Throwable cause) {
        super(cause);
    }

    /**
     * @param message            消息
     * @param cause              异常
     * @param enableSuppression  异常
     * @param writableStackTrace 栈
     */
    public PremissionException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
